home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Metrowerks tips < prev    next >
Encoding:
Text File  |  1995-07-11  |  2.1 KB  |  42 lines  |  [TEXT/ttxt]

  1.  
  2. Metrowerks Tips
  3. 11 July 1995
  4.  
  5.  
  6. Setting up your development environment for Metrowerks 6
  7.  
  8. This file will help you get started building the QuickDraw GX sample code using Metrowerks 6 and the latest greatest GX interfaces.  You'll probably be able to set things up on your own, but here's how to proceed if you're not quite sure what to do with all this stuff.
  9.  
  10. All of the files mentioned here are in folders within the GX SDK's "Programming Stuff" folder.  Also required is the "Latest" Universal Interfaces folder from ETO#18 or MacOS SDK #4.  The latest version of the Universal Interfaces now include new GX interfaces.  The GX interfaces have been simplefied, renamed and improved.  We strongly recommend that you update your code to include these new interfaces.  Please read the file "GX Libs & Tools - Read Me" for more information on the new GX interfaces.
  11.  
  12.  
  13. In the Metroworks "Headers" folder:
  14.  
  15. Remove the existing "Universal Interfaces" folder.
  16. If you want to keep the old headers for posterity, you can you can rename the old folder with parenthasis so that Metrowers will not search within it. 
  17.  
  18. Copy the latest Universal Interfaces folder from this disc into the "Headers" folder.
  19.  
  20.  
  21. In the Metroworks "System Extras Headers" folder:
  22.  
  23. Remove any exitsing GX folders from "System Extras Headers". 
  24. If you want to keep the old headers for posterity, you can you can rename the old folders with parenthasis so that Metrowers will not search within them. 
  25.  
  26. Copy the following folders from the GX SDK "Programming Stuff" folder into "System Extras Headers".
  27.     GXLibraries
  28.     GX Compatibility Interfaces
  29.     RIncludes
  30.     PPCLibraries
  31.  
  32.  
  33. Other options
  34.  
  35. To turn debugging on for both your code and the GX libraries, you should include a "Prefix file" which specifies the following:
  36.  
  37. #define debugging 1
  38.  
  39. Becuase a bug in the ET0 #15 version of "types.h" has been fixed in ETO 16, you no longer need to explicitly typedef float_t and double_t in the prefix. The latest version of the GX Interfaces no longer require that you #pragma pointers_in_D0.  (For most of the samples on this CD, a suitable prefix file called "Prefix.h" is provided.)
  40.  
  41.  
  42.